runtime.rwmutex.readerCount (field)
5 uses
runtime (current package)
rwmutex.go#L26: readerCount atomic.Int32 // number of pending readers
rwmutex.go#L78: if rw.readerCount.Add(1) < 0 {
rwmutex.go#L102: if r := rw.readerCount.Add(-1); r < 0 {
rwmutex.go#L126: r := rw.readerCount.Add(-rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L145: r := rw.readerCount.Add(rwmutexMaxReaders)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |